Coins with Arbitrary Weights
نویسندگان
چکیده
Given a set of m coins out of a collection of coins of k unknown distinct weights, we wish to decide if all the m given coins have the same weight or not using the minimum possible number of weighings in a regular balance beam. Let m(n, k) denote the maximum possible number of coins for which the above problem can be solved in n weighings. It is known that m(n, 2) = n 1 2 . Here we determine the asymptotic behaviour of m(n, k) for larger values of k. Surprisingly it turns out that for all 3 ≤ k ≤ n + 1, m(n, k) is much smaller than m(n, 2) and satisfies m(n, k) = Θ(n log n/ log k).
منابع مشابه
Polynomial Time Optimal Query Algorithms for Finding Graphs with Arbitrary Real Weights
We consider the problem of finding the edges of a hidden weighted graph and their weights by using a certain type of queries as few times as possible, with focusing on two types of queries with additive property. For a set of vertices, the additive query asks the sum of weights of the edges with both ends in the set. For a pair of disjoint sets of vertices, the cross-additive query asks the sum...
متن کاملOptimal Algorithms for the Coin Weighing Problem with a Spring Scale
Suppose we are given n coins out of a collection of coins of two distinct weights w0 and w1, true and counterfeit coins, respectively, where d of them are counterfeit coins. Assume we are allowed to weigh subsets of coins in a spring scale. Determine the counterfeit coins in a minimal number of weighing. This problem is equivalent to the following learning problem: Given a linear function f = x...
متن کاملFinding Weighted Graphs by Combinatorial Search
We consider the problem of finding edges of a hidden weighted graph using a certain type of queries. Let G be a weighted graph with n vertices. In the most general setting, the n vertices are known and no other information about G is given. The problem is finding all edges of G and their weights using additive queries, where, for an additive query, one chooses a set of vertices and asks the sum...
متن کاملOn Parity Check (0, 1)-Matrix over Zp
We prove that for every prime p ≤ poly(n) there exists a (0, 1)-matrix M of size tp(n,m) × n where tp(n,m) = O ( m+ m log n m log min(m, p) ) such that every m columns of M are linearly independent over Zp, the field of integers modulo p (and therefore over any field of characteristic p and over the real numbers field R). In coding theory this matrix is a parity-check (0, 1)-matrix over Zp of a...
متن کاملCoins and Cones
We discuss the problem of maximizing the number of coins, for which, using just n weighings, one can tell whether all of them are of the same weight or not, under condition that the weights of the coins are generic. The first purpose of the paper is to show the connection between this problem and a problem in lattice geometry. Using this approach, we are able to establish an upper bound on the ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Algorithms
دوره 25 شماره
صفحات -
تاریخ انتشار 1997